<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/Public/Admin/Css/public.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</head>
<body>	
	<table class="table">
		<tr>
			<th>ID</th>
			<th>名称</th>
			<th>级别</th>
			<th>排序</th>
			<th>操作</th>
		</tr>
		<?php if(is_array($step)): foreach($step as $key=>$v): ?><tr>
				<td><?php echo ($v["id"]); ?></td>
				<td><?php echo ($v["log"]); echo ($v["name"]); ?></td>
				<td><?php echo ($v["level"]); ?></td>
				<td><?php echo ($v["sort"]); ?></td>
				<td>
					[<a href="<?php echo U('Home/Step/addstep',array('pid' => $v['id']));?>">添加子分类</a>]
					[<a href="<?php echo U('Home/Step/xiugai',array('id' => $v['id']));?>">修改</a>]
					[<a href="<?php echo U('Home/Step/del',array('id' => $v['id']));?>">删除</a>]
				</td>
			</tr><?php endforeach; endif; ?>	
	</table>	
</body>
</html>